﻿using System.Collections.Generic;
using Silent.MDB.Common.Data;

namespace Silent.MDB.Application.Core
{
    public interface IDataCache
    {
        ICollection<RootObject> RootObjects { get; }
        ICollection<Folder> Folders { get; }
        ICollection<Person> Persons { get; }
        ICollection<Teacher> Teachers { get; }
        ICollection<Student> Students { get; }
        ICollection<Department> Departments { get; }
        ICollection<Cathedra> Cathedras { get; }
        ICollection<Faculty> Faculties { get; }

        void SaveChanges();
    }
}